local table_name = "bornpoint"
local old_table = IMPORT_D:get_table(table_name)
if not old_table then
    return
end

local new_table = {}
for _, data in pairs(old_table) do
    ---! 获取地图ID
    local map_id = data.mapNum

    ---! 获取出生点序号
    local born_seq = data.sequence

    if not new_table[map_id] then
        new_table[map_id] = { [born_seq] = data }
    else
        new_table[map_id][born_seq] = data
    end
end

IMPORT_D:set(table_name, new_table)
